package com.example.administrator.testpersionn.mvp;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

import com.example.administrator.out1.mvp.IpView;
import com.example.administrator.out1.mvp.Ipresenter;
import com.example.administrator.testpersionn.R;

import butterknife.BindView;
import butterknife.ButterKnife;

public class TestMvpActivity extends AppCompatActivity implements IpView {

    @BindView(R.id.textView)
    TextView textView;

    com.example.administrator.out1.mvp.Ipresenter ipresenter;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test_mvp);
        ButterKnife.bind(this);
        ipresenter=new Ipresenter(this);

    }

    @Override
    public void sendTest(String Data) {
      textView.setText(Data);
    }
}
